/**************************************************************************//**
* @file     sys.h
* @version  V1.00
* $Revision: 6 $
* $Date: 15/06/12 9:25a $
* @brief    NUC970 SYS driver header file
*
* @note
* Copyright (C) 2015 Nuvoton Technology Corp. All rights reserved.
*****************************************************************************/

#ifndef __SYS_COM_H__
#define __SYS_COM_H__

#include <stdio.h>
#include <string.h>
#include <stdarg.h>
#include <stdlib.h>

#ifdef __cplusplus
extern "C"
{
#endif

void sys_hw_puts(const char *str);
void sys_hw_printf(char* fmt, ...);


#ifdef    DEBUG
#define   sys_printf  sys_hw_printf
#define   sys_puts    sys_hw_puts
#else
#define   sys_printf(...)
#define   sys_puts(...)
#endif

#ifdef __cplusplus
}
#endif


#endif //__SYS_H__

/*** (C) COPYRIGHT  Corp. ***/

